import re


def get_url_from_content(content_head):
    # content_head = f.read(500)
    pattern = re.compile('url: (.*?)\s')
    url_list = pattern.findall(content_head)
    return url_list[0] if len(url_list) > 0 else ""
